package com.pattern.decorator.case01;

public class DecoratorTest {

    public static void main(String[] args) {
//        BigCinema bigCinema = new BigCinema();
//        FoodDecorator foodDecorator = new FoodDecorator(bigCinema);
//
//        foodDecorator.watch();


        BigCinema bigCinema = new BigCinema();
        FoodDecorator foodDecorator = new FoodDecorator(bigCinema);
        GirlFriendDecorator girlFriendDecorator = new GirlFriendDecorator(foodDecorator);
        girlFriendDecorator.watch();
    }

}
